package com.study.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.study.pojo.Headline;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.study.pojo.vo.PortalVo;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
* @author
* @description 针对表【news_headline】的数据库操作Mapper
* @createDate 2025-02-28 18:21:46
* @Entity com.study.pojo.Headline
*/
public interface HeadlineMapper extends BaseMapper<Headline> {

    // 分页查询
    IPage<Map> selectMyPage(IPage<Map> page, @Param("portalVo") PortalVo portalVo);//@Param("portalVo")：将参数传给mapper.xml中的${portalVo}
    // 查询详情
    Map queryDatilMap(Integer hid);
}




